SupportsDynamicPartitions Property

Task Parallel System.Threading

Gets whether additional partitions can be created dynamically.

Namespace:  System.Collections.Concurrent
Assembly:  System.Threading (in System.Threading.dll)

Syntax

Visual Basic (Declaration)
Public Overridable ReadOnly Property SupportsDynamicPartitions As Boolean
C#
public virtual bool SupportsDynamicPartitions { get; }

Return Value

true if the Partitioner<(Of <(TSource>)>) can create partitions dynamically as they are requested; false if the Partitioner<(Of <(TSource>)>) can only allocate partitions statically.

Remarks

If a derived class does not override and implement GetDynamicPartitions()()(), SupportsDynamicPartitions should return false. The value of SupportsDynamicPartitions should not vary over the lifetime of this instance.

See Also